package Application.MapApplication.view.cell
{
	import Application.MapApplication.def.Manager;
	
	import fl.controls.listClasses.ICellRenderer;
	import fl.controls.listClasses.ListData;
	
	import flash.display.DisplayObject;
	import flash.display.Sprite;
	
	public class BaseCell extends Sprite implements ICellRenderer
	{
		public var _data : Object;
		public var _listData : ListData;
		
		public var view : Sprite;
		
		public function BaseCell(cellClassName : String)
		{
			var facadeClass : Class = Manager.Source.getClass(cellClassName);
			
			view = new facadeClass as Sprite;
			
			this.addChild(view);
		}
		
		public function setStyle(cell:DisplayObject) : void
		{
			
		}
		
		public function setSize(arg0:Number, arg1:Number):void
		{
		}
		
		public function get listData():ListData
		{
			return _listData;
		}
		
		public function set listData(arg0:ListData):void
		{
			_listData = arg0;
		}
		
		public function get data():Object
		{
			return _data;
		}
		
		public function set data(arg0:Object):void
		{
			_data = arg0;
		}
		
		public function get selected():Boolean
		{
			return false;
		}
		
		public function set selected(arg0:Boolean):void
		{
		}
		
		public function setMouseState(arg0:String):void
		{
		}
	}
}